package assignment7;

public class Test {
    public static void main(String[] args) {
        Plane plane = new Plane();
        plane.start();
        plane.stop();
        System.out.println("**********************");

        Car car = new Car();
        car.start();
        car.stop();
        System.out.println("**********************");

        Train train = new Train();
        train.start();
        train.stop();
        System.out.println("**********************");

        Boat boat = new Boat();
        boat.start();
        boat.stop();

    }
}
